<?php 
session_start();
if(!isset($_SESSION['examed']) || $_SESSION['examed'] == 0) {
	session_write_close();
	header('Location: index.php');
	die('You have not examed.');
}
session_write_close();
?>
